package com.ming_za.odupdaterserver.core.service.update.res;

import lombok.Data;

import java.io.FileInputStream;

@Data
public class ResDownload {

    /**
     * 文件名
     */
    private String fileName;

    /**
     * 文件数据流
     */
    private FileInputStream fileInputStream;

    /**
     * 更新请求对象
     */
    private UpdateRequest res;

    public ResDownload(String fileName, FileInputStream fileInputStream,UpdateRequest res) {
        this.fileName = fileName;
        this.fileInputStream = fileInputStream;
        this.res = res;
    }
}
